package top.lgd.enums;

import lombok.Getter;

/**
 * @since 2023/12/15 9:53
 */
@Getter
public enum ResultEnum {

    登录状态失效("S0001", "登录状态失效"),
    用户名或密码不能为空("S0002", "用户名或密码不能为空"),
    用户名或密码不正确("S0003", "用户名或密码不正确"),


    SUCCESS("0000", "操作成功"),
    FAIL("9999", "操作失败");

    private String code;
    private String msg;

    ResultEnum(String code, String  msg) {
        this.code = code;
        this. msg =  msg;
    }
}